package com.uml.umlwork.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.uml.umlwork.entity.base.BaseEntity;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
/**
 * @author Siki
 * @date 2021/1/6
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@ApiModel("课程实体类")
@TableName(value = "uml_course", autoResultMap = true)
public class Course extends BaseEntity {
    @ApiModelProperty("课程名称")
    private String courseName;

    @ApiModelProperty("是否开课")
    private Boolean isOpen;

    @ApiModelProperty("季度")
    private String season;

    @ApiModelProperty("年")
    private String year;
}
